package com.gxg.demo10.mydemo11;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

/**
 * 作者：Administrator on 2018/3/12 10:02
 * 邮箱：android_gaoxuge@163.com
 */
public class BaseRvAdapter extends BaseQuickAdapter<String,BaseViewHolder> {
    public BaseRvAdapter(@Nullable List<String> data) {
        super(R.layout.item_base,data);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        helper.setText(R.id.tv_title,item);
    }
}
